﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DefaultDIModule.cs" company="Home">
//   2014
// </copyright>
// <summary>
//   The default di module.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace NinjectWithMVC.DI
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    using Ninject.Modules;

    using NinjectWithMVC.Models;

    /// <summary>
    /// The default di module.
    /// </summary>
    public class DefaultDIModule : NinjectModule
    {
        /// <summary>
        /// The load.
        /// </summary>
        public override void Load()
        {
            this.Bind<IEmployeeService>().To<EmployeeService>();
        }
    }
}